<template>
  <ul class='my-adviser'>
    <li v-for="(item,index) in getListData">
      <List :info="item" :operateShow="operateShow"></List>
      <Operate v-if="operateShow" :info="item"></Operate>
    </li>
  </ul>
</template>
<script>
import List from './adviserlist.vue'
import Operate from './operate'
export default {
  props:["listData","operateShow"],
  components: {List,Operate},
  name: "",
  data() {
    return {};
  },
  computed:{
    getListData(){
      return this.listData||[]
    }
  },
  methods: {},
  created() {}
};
</script>
<style lang="scss" scoped>
.my-adviser {
  background-color: #f2f2f2;
  padding-bottom: 0.1px;

  li{
    padding: 15px;
    padding-bottom: 0;
    background-color: #fff;
    margin-bottom: 5px;
  }
}
</style>